package main

import (
	"meman/sys"
	"runtime"
)

func main() {

	maxProcs := runtime.NumCPU()
	if maxProcs > 1 {
		maxProcs -= 1
	}
	runtime.GOMAXPROCS(maxProcs)

	//配置路由
	sys.RegisterRouter()

	//信号监听
	//go sys.SysSignalHandle()
	go sys.ProcessSysSignal()

}

